package cn.edu.gench.learn.day6;

/**
 * Created by Administrator on 2017/4/8.
 */
public class LibBook extends Book {

    private int amount = 1;

    //1  正常  0 已经借出
    private int status = 1;

    @Override
    public String toString() {

        System.out.println(super.toString());

        return "LibBook{" +
                "amount=" + amount +
                ", status=" + status +
                '}';
    }

    public int getAmount() {
        return amount;
    }

    public void setAmount(int amount) {
        this.amount = amount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
